package com.woniuxy.service;

import com.woniuxy.controller.form.AddShopform;
import com.woniuxy.controller.form.DelShopByIdform;
import com.woniuxy.controller.form.FindAllshopsform;
import com.woniuxy.controller.form.FindShopByLikefrom;
import com.woniuxy.exception.DdException;
import com.woniuxy.exception.ShopCodeCopeExption;
import com.woniuxy.exception.deleShopIsNULL;
import com.woniuxy.model.PawnShop;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hujianying
 * @since 2022-03-23
 */
public interface PawnShopService extends IService<PawnShop> {

    Result findpageshop(FindAllshopsform findAllshops);

    Result findShoppageBylike(FindShopByLikefrom findShopByLikefrom);

    Result deleshops(DelShopByIdform delShopByIdform) throws deleShopIsNULL;

    Result addshop(AddShopform addShopform) throws ShopCodeCopeExption, DdException;
}
